<?php /* Smarty version Smarty-3.1.8, created on 2012-04-19 08:55:10
         compiled from ".\templates\login.tpl.html" */ ?>
<?php /*%%SmartyHeaderCode:239584f8fb6ce9868c6-54327996%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '0f5825e6e72f33ed506c5b4d0b5df9e4ffbbe4ec' => 
    array (
      0 => '.\\templates\\login.tpl.html',
      1 => 1334818435,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '239584f8fb6ce9868c6-54327996',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'presentalogin' => 1,
    'session' => 1,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_4f8fb6ce9b2317_41657824',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4f8fb6ce9b2317_41657824')) {function content_4f8fb6ce9b2317_41657824($_smarty_tpl) {?><?php if (!isset($_smarty_tpl->tpl_vars['presentalogin']->value)||$_smarty_tpl->tpl_vars['presentalogin']->value==true){?>
	<div id="menulogin">
		<form id="login" name="login" action="index.php?module=usuarios&action=login" method="post">
			<label for="data[username]"></label>
			<input type="text" id="username" tabindex="1" name="data[username]" value="usuario"/>
			<label for="data[password]"></label>
			<input type="password" id="password" tabindex="2" name="data[password]" value="contraseña"/>
			<input type="submit" name="data[submit]" id="submit" value="Enviar"/>
			<a id="registrarse"href="index.php?module=usuarios&action=register">Quiero darme de alta</a>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<br/>
			<br/>
			
		</form>
	</div>
<?php }else{ ?>
	<?php if (isset($_smarty_tpl->tpl_vars['session']->value['user']['username'])){?>
		<h2>Bienvenido, <?php echo $_smarty_tpl->tpl_vars['session']->value['user']['username'];?>
</h2>
	<?php }?>
	<a href="index.php?module=usuarios&action=logout">Logout</a>
<?php }?>
<?php }} ?>